#!/bin/bash

ROOT_PATH=$(cd $(dirname $0) && pwd);

apt -y install openssh-server
#sudo systemctl enable sshd

#sudo cp -n /etc/ssh/sshd_config /etc/ssh/sshd_config.0
#sudo cp -f /etc/ssh/sshd_config.0 /etc/ssh/sshd_config

sudo echo '
PermitRootLogin no
UseDNS yes
' > /etc/ssh/sshd_config.d/sshd_config.conf

sudo service sshd restart
